package ro.prjmanager.service;

import ro.prjmanager.core.service.Service;
import ro.prjmanager.model.TableSet;

import java.util.List;

public interface SynchInterfaceService extends Service {
    public static final int MYSQL = 1;
    public static final int ORACLE = 2;

    public List<String> load(String url, String user, String pwd, String schema, int type);

     public void clean();

    public void syncTable(String url, String user, String pwd, String schema, int type, TableSet tableSet);
    public void syncTable(String url, String user, String pwd, String schema, int type, List<TableSet> tableSet);
    public void removeTableSet(String url, String user, String pwd, String schema, int type, TableSet tableSet) ;


}
